﻿using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Web.Models.CoreData
{
    /// <summary>
    /// 
    /// </summary>
    [Table("tsysuser")]
    public class SysUser
    {
        /// <summary>
        /// 消息唯一标识
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Column("id")]
        public Guid Id { get; set; }

        [Column("account")]
        public String Account { get; set; }

        [Column("password")]
        public String Password { get; set; }

        [Required]
        [Column("name")]
        public String Name { get; set; }

        [Column("phone")]
        public String Phone { get; set; }
    }
}
